from rest_framework import serializers
from .models import *


# 群聊表序列化器
class GroupSer(serializers.ModelSerializer):
    class Meta:
        model = GroupModel
        fields = "__all__"


# 群成员表序列化器
class GroupStaffSer(serializers.ModelSerializer):
    class Meta:
        model = GroupStaffModel
        fields = "__all__"